Change User's Status

{ toggleEnableUser }

Allow or Block a user on the system

Method

/API2/access/toggleEnableUser

  • API Section: /API2/access
  • API Version: 2.0
  • From Release: 2018.5
  • Method operates via POST actions only.
  • Input Parameters

    Name

    toggleUserApiData

    Object Type

    Description

    The toggle object to indicate the user state in the system.

    Output Response

    Successful Result Code

    200

    Response Type

    Description of Response Type

    Generic API response object with success or failure flag and related messages.

    Notes

    This function enables or disables a user's account in the system. Requires the user's ID. Use 'getUsersByName' to find relevant users